<template>
  <div class="home">
    <div class="banner">
      <div class="banxin">
        <img src="../assets/images/home/banner.png" alt="" />
      </div>
    </div>
    <Title1 :src="Recommend" title="精品推荐" />
    <Title2 :src="hot" title="热门兑换" />
    <Title3 :src="integral" title="积分攻略" />
  </div>
</template>

<script>
import Title1 from "@/components/home/Title1.vue";
import Title2 from "@/components/home/Title2.vue";
import Title3 from "@/components/home/Title3.vue";

export default {
  data() {
    return {
        Recommend : require('../assets/images/home/Recommend.png'),
        hot : require('../assets/images/home/hot.png'),
        integral : require('../assets/images/home/integral.png')
    };
  },
  components: {
    Title1,
    Title2,
    Title3,
  },
};
</script>
 
<style lang = "less" scoped>
@import "../assets/base.less";
.banner {
  width: 100%;
  background: #fff;
  padding-bottom: 30px;
  img {
    display: block;
  }
}
</style>